package com.fcscs.cservice.ws.client.inroomservice;

import org.apache.log4j.Logger;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.fcscs.cservice.ws.schema.inroomservice.GetBillOptionsRequest;
import com.fcscs.cservice.ws.schema.inroomservice.GetBillOptionsResponse;

public class GetBillOptionsClient extends WebServiceGatewaySupport {

	private static final Logger LOG = Logger.getLogger(GetBillOptionsClient.class);

	public GetBillOptionsResponse test(GetBillOptionsRequest req) {
		GetBillOptionsResponse resp = (GetBillOptionsResponse) getWebServiceTemplate().marshalSendAndReceive(req);
		LOG.info("----------resv bill option list size: " + resp.getBillOptionList().size());
		return resp;
	}
}
